/***************************************************************************
 *   Copyright (C) 2007 by Phillip Aldridge   *
 *   phillip@imi21.com   *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 *   This program is distributed in the hope that it will be useful,       *
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 *   GNU General Public License for more details.                          *
 *                                                                         *
 *   You should have received a copy of the GNU General Public License     *
 *   along with this program; if not, write to the                         *
 *   Free Software Foundation, Inc.,                                       *
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
 ***************************************************************************/
#ifndef STATIONDATA_H
#define STATIONDATA_H
#include <qwidget.h>
#include <qstring.h>
/**
	@author Phillip Aldridge <phillip@imi21.com>
*/
class StationData: public QWidget{
 Q_OBJECT
public:
    StationData();

    ~StationData();
   void setDate( QString );
   QString date();
   void setTime( QString );
   QString time();
//
   void setTempIn( QString );
   float tempIn();
   void setTempOut( QString );
   float tempOut();
   void setTempMax( QString );
   float tempMax();
   void setTempMin( QString );
   float tempMin();
   void setTempMinTime( QString );
   QString tempMinTime();
   void setTempMaxTime( QString );
   QString tempMaxTime();
//
   void setDewpoint( QString );
   float dewpoint();
   void setRelHumIn( QString );
   QString relHumIn();
   void setRelHumOut( QString );
   QString relHumOut();
//
   void setWindSpeed( QString );
   float windSpeed( ); 
   void setWindAngle( QString );
   float windAngle();
   void setWindDirection( QString );
   QString windDirection() ;
   void setWindChill( QString );
   QString windChill( );
//
   void setRain1h( QString );
   QString rain1h( );
   void setRain24h( QString );
   QString rain24h( );
   void setRain1w( QString );
   QString rain1w( );
   void setRain1m( QString );
   QString rain1m( );
   void setRainTotal( QString );
   QString rainTotal( );
//
   void setRelPressure( QString );
   QString relPressure( );
   void setAbsPressure( QString );
   QString absPressure( );
//
   void setTendency( QString );
   QString tendency( );
   void setForecast( QString );
   QString forecast( );
private:
   QString sdDate, sdTime;
   QString sdTempIn, sdTempOut, sdTempMax, sdTempMin, sdTempMaxTime, sdTempMinTime;
   QString sdDewpoint, sdRelHumIn, sdRelHumOut;
   QString sdWindSpeed, sdWindDirection, sdWindAngle, sdWindChill;
   QString sdRain1h, sdRain24h, sdRain1w, sdRain1m, sdRainTotal;
   QString sdRelPressure, sdAbsPressure;
   QString sdTendency, sdForecast;
   
};

#endif
